home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / Queries / PGetPrintOptions.cpp < prev    next >
C/C++ Source or Header  |  1996-08-15  |  776b  |  32 lines

  1. /*
  2.  *--- PGetPrintOptions.cpp ------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 4:49 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this class, refer to the
  7.  * PCL documentation file PGetPrintOptions.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetPrintOptions.h"
  12. #include "PQuery.h"
  13. #include "PReplyBuf.h"
  14.  
  15. PGetPrintOptions::PGetPrintOptions()
  16. {
  17.     char temp[16];
  18.     
  19.     PQuery query(pm_getprintoptions, temp, 16);
  20.     PReplyBuf reply(temp);
  21.     
  22.     reply    >> cScaleType
  23.             >> nVal
  24.             >> cDuplex
  25.             >> bMarks
  26.             >> bPageInfo
  27.             >> cTiling
  28.             >> xOverlap;
  29. }
  30.  
  31. // end of PGetPrintOptions.cpp
  32.